import { postJson } from '../http.js'

export default {
    userLogin (data) {
        return postJson(`/common/login`, data)
    },
    fetchUserInfo (data) {
        return postJson(`/common/getUserInfo`, data)
    },
    fetchMenuRoutes (data) {
        return postJson(`/common/getMenuList`, data)
    }
}
